<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-4.1.xsd">

	<bean id="abstractBean" class="org.springframework.beans.factory.support.LookupMethodTests$AbstractBean">
		<lookup-method name="get"/>  <!-- applying to overloaded methods, and based on return type since no bean name is given -->
		<lookup-method name="getOneArgument" bean="testBean"/>
		<lookup-method name="getTwoArguments" bean="testBean"/>
	</bean>

	<bean id="extendedBean" parent="abstractBean">
		<lookup-method name="getOneArgument" bean="jedi"/>
	</bean>

	<bean id="testBean" class="org.springframework.beans.testfixture.beans.TestBean" scope="prototype"/>

	<bean id="jedi" class="org.springframework.beans.testfixture.beans.TestBean" scope="prototype" autowire-candidate="false">
		<property name="jedi" value="true"/>
	</bean>

</beans>
